 <?php

//['middleware' => 'auth']
	Route::group(['namespace' => 'Admin','prefix' => 'admin'],function(){
    Route::get('index','IndexController@index');
    /*Route::get('index','IndexController@a');
    Route::get('index','IndexController@b');*/

	
    // //用户相关
    Route::resource('user','UserController');


    // //用户管理
    Route::resource('cat','CatController');


    //删除
    Route::post('user/del/{id}','UserController@del');


   

});
